<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <title>根据数组生成表格</title>
</head>
<body>
    <table border="1">
        <thead>
            <tr>
                <th>姓名</th>
                <th>年龄</th>
                <th>性别</th>
                <th>地址</th>
            </tr>
        </thead>

        <tbody id="tbody">
            <tr>
                <td>姓名</td>
                <td>年龄</td>
                <td>性别</td>
                <td>地址</td>
            </tr>
        </tbody>
    </table>
    <script src="js/index.js"></script>
</body>
</html>